/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// modal style
.modal-content {
    text-align: left;
    box-shadow: $modal-content-box-shadow-sm-up;
}

.modal-footer {
    // padding-top: 0.8rem;
    background-color: #eee;
    padding: 10px 30px;

    & > .btn-link {
        color: darken($body-color, 10%);
        font-weight: $font-weight-bold;
        text-transform: uppercase;
        cursor: pointer;
        border-radius: $border-radius;

        &:hover,
        &:focus {
            background-color: $gray-100;
            box-shadow: none;
        }
    }
}

@include media-breakpoint-up(sm) {
    .modal {
        text-align: center;

        &:before {
            content: '';
            height: 100%;
            width: 1px;
        }

        &:before,
        .modal-dialog {
            display: inline-block;
            vertical-align: middle;
        }
    }
}
